immodule: Don't load unsupported IM module
authorBenjamin Otte <otte@redhat.com>
Mon, 7 Jan 2019 23:25:08 +0000 (00:25 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 7 Jan 2019 23:41:12 +0000 (00:41 +0100)
commit545e95bb5cee04267cd77633d18121688dcff2d8
tree91fc219c3b7f0d0517f451853a626ccb4c67f066
parentca76675a6948ea113e15d7b455f2de2cd69ab26b
immodule: Don't load unsupported IM module

The code would technically allow loading the xim module when X11 support
was not compiled in.

This is probably an artificial concern, because it's pretty hard to
compile XIM support without X11 support, but it makes the code clearer,
so there we go.
gtk/gtkimmodule.c